package dirindex;

public class Indices {

	private int iDocID;
	private int iElementID;
	private int iElementType;			//	type of the ontology element 1 - class, 2 - attribute 
    private float fDescrCoef;			// coeffisient of similarity of the element description
    private float fElementWeight;		// weight of the element in the document
    
    public Indices( int iiDocID, int iiElementID, int iiElementType, float ifElementWeight, float ifDescrCoef )
    {
    	iDocID = iiDocID;
    	iElementID = iiElementID;
    	iElementType = iiElementType; 
        fDescrCoef = ifDescrCoef;	
        fElementWeight = ifElementWeight;
        	
    }
    
    public String toString() 
    {
        return "DoctID: " + iDocID + " ElementID: " + iElementID + " ElementType: " + iElementType
        	+ " DescriptionCoefficient: " + fDescrCoef + " ElementWeight: " + fElementWeight;
    }
    
    public int getDocID() 
    {
        return iDocID;
    }

    public int getElementID() 
    {
        return iElementID;
    }

    public int getElementType() 
    {
        return iElementType;
    }

    public float getDescrCoef() 
    {
        return fDescrCoef;
    }

    public float getElementWeight() 
    {
        return fElementWeight;
    }
}
